#if 0
#include <buola/cv/boxes/battention.h>
#include <buola/image/format.h>
#include <buola/image/algorithm/detect.h>
#include <buola/image/algorithm/statistics.h>

namespace buola { namespace cvi {

BAttention::BAttention()
    :   BSyncBox("attention")
    ,   iImage(this,"image in")
    ,   oMap(this,"map out")
{
}

BAttention::~BAttention()
{

}

void BAttention::OnClock()
{
    img::CImage_rgb8 lIn=iImage.Get();

    mAttention.Update(lIn);

    double lMin,lMax;
    img::min_max(mAttention.GetSaliencyMap(),lMin,lMax);
    img::CImage_gray8 lOut(mAttention.GetSaliencyMap().Size(),oMap.GetAllocator());

    image_value_map(mAttention.GetSaliencyMap(),lOut,lMin,lMax);
    oMap=std::move(lOut);
  
}

/*namespace cvi*/ } /*namespace buola*/ }
#endif